import request from '@/utils/request'

// 查询处理人员配置列表
export function listDisposalConfig(query) {
  return request({
    url: '/event/manager/disposalConfig/list',
    method: 'get',
    params: query
  })
}

// 查询处理人员配置详细
export function getDisposalConfig(id) {
  return request({
    url: '/event/manager/disposalConfig/' + id,
    method: 'get'
  })
}

// 新增处理人员配置
export function addDisposalConfig(data) {
  return request({
    url: '/event/manager/disposalConfig',
    method: 'post',
    data: data
  })
}

// 修改处理人员配置
export function updateDisposalConfig(data) {
  return request({
    url: '/event/manager/disposalConfig',
    method: 'put',
    data: data
  })
}

// 删除处理人员配置
export function delDisposalConfig(id) {
  return request({
    url: '/event/manager/disposalConfig/' + id,
    method: 'delete'
  })
}

// 导出处理人员配置
export function exportDisposalConfig(query) {
  return request({
    url: '/event/manager/disposalConfig/export',
    method: 'get',
    params: query
  })
}